package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.NotSaved;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 描述：众包_聊天_实体。
 *
 */
@Entity(value="ZhongBaoChat", noClassnameStored=true)
public class ZhongBaoChat extends BaseMongoEntity {
    private Long groupId;//消息组ID
   // private Long projectId;//项目ID。点对点聊天不需要此Id
    private Long memberId;//发送人ID
    private String memberName;//发送人名册
    private String memberLogo;//发送人LOGO
    private String content;//发送内容或图片地址

    public ZhongBaoChat() {
    }

    public ZhongBaoChat(Long groupId, Long memberId, String memberName, String memberLogo, String content) {
        this.groupId = groupId;
      //  this.projectId = projectId;
        this.memberId = memberId;
        this.memberName = memberName;
        this.memberLogo = memberLogo;
        this.content = content;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

   /* public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }*/

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberLogo() {
        return memberLogo;
    }

    public void setMemberLogo(String memberLogo) {
        this.memberLogo = memberLogo;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}